export const BUILD_ENV = process.env.BUILD_ENV || "PRODUCTION";
const DEVELOPMENT = {};
const TEST = {};
const PRODUCTION = {};
const CONFIG = {
  DEVELOPMENT,
  TEST,
  PRODUCTION,
}[BUILD_ENV];

export const IS_TEST = BUILD_ENV === "TEST";
export const IS_DEVELOPMENT = BUILD_ENV === "DEVELOPMENT";
export const IS_PRODUCTION = BUILD_ENV === "PRODUCTION";
console.log("当前打包环境...", BUILD_ENV, CONFIG);
export default CONFIG;
